﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using MySql.Data.MySqlClient;

namespace MainSystemForm.handler
{
    class DbHelper
    {
        ///<summary> 
        ///得到连接对象
        ///</summary>  
        ///<returns></returns>
        public MySqlConnection GetConn()
        {
            return new MySqlConnection();
            //SystemConfig config = new SystemConfig();
            //return new MySqlConnection("Database='autopark';Data Source='" + config.DbIP + "';UserId='" + config.DbLoginName + "';Password='" + config.DbPassword + "';charset='utf8'");
        } 
    }
}
